﻿using System.Device.Location;

namespace Spotted.Messages
{
    public class CenterLocationDeterminedMessage
    {
        public bool ShowPushpin { get; private set; }
        public GeoCoordinate CenterLocation { get; private set; }

        public CenterLocationDeterminedMessage(GeoCoordinate centerLocation)
        {
            CenterLocation = centerLocation;
            ShowPushpin = false;
        }

        public CenterLocationDeterminedMessage(GeoCoordinate centerLocation, bool showPushPin)
        {
            CenterLocation = centerLocation;
            ShowPushpin = showPushPin;
        }
    }
}
